﻿//05.Write a program that gets two numbers from the console 
//and prints the greater of them. Don’t use if statements.

using System;

namespace GreaterNumber
{
    class Greater
    {
        static void Main()
        {
            Console.Write("Please enter a number: ");
            int a = int.Parse(Console.ReadLine ());
            Console.Write("Please enter another number: ");
            int b = int.Parse(Console.ReadLine());
            bool x = a > b;
            Console.WriteLine("The greater number is: {0}", (x ? a : b));
        }
    }
}